/*
 * PhysicsComponent.h
 *	wrap around MoBox2D objects
 *
 *	- note !!! - for now class gives access to b2Body pointer for all uses this should be changed!
 *
 *  Created on: Oct 7, 2012
 *      Author: pigmal
 */

#ifndef PHYSICSCOMPONENT_H_
#define PHYSICSCOMPONENT_H_

#include "MoBox2d/include/MoBox2D/Box2D.h"
#include"IAComponent.h"

class PhysicsComponent:public IAComponent
{
public:
	PhysicsComponent();
	virtual ~PhysicsComponent();

	bool Init(b2World *world, const b2BodyDef *bodyDef);
	b2Body *GetBody(){return Body;}
	void update(){;}

private:
	b2Body *Body;
};
#endif /* PHYSICSCOMPONENT_H_ */
